#!/bin/bash

# 进入当前Shell程序的目录
cd `dirname $0`
echo  "Current Script Path: `dirname $0`"

mkdir -p /usr/local/services/file-upload/bin

cp -rf ./scripts/*.sh /usr/local/services/file-upload/bin

#./build_preview.sh
#注意权限问题
sh /usr/local/services/file-upload/bin/stop.sh

#cp -rf ../target/client-gateway-1.0.0.jar /usr/local/services/client-gateway/bin

sh /usr/local/services/file-upload/bin/start.sh